<@c.html title="Goodeen">
<form id="add-form" method="post" class="form-horizontal well white-bg" action="/create">
	<@c.formgroup label={"for":"author", "value":"作者*", "class":"col-xs-3 control-label"} content={"class":"col-xs-7"}>
	<input type="text" id="author" name="author" value="peter.e.king" placeholder="文件作者信息" class="form-control" />
	</@c.formgroup>

	<@c.formgroup label={"for":"packagePath", "value":"包名*", "class":"col-xs-3 control-label"} content={"class":"col-xs-7"}>
	<input type="text" id="packagePath" name="packagePath" value="com.s20y.crm" placeholder="文件保存根路径" class="form-control" />
	</@c.formgroup>

	<@c.formgroup label={"for":"outRootPath", "value":"输出路径*", "class":"col-xs-3 control-label"} content={"class":"col-xs-7"}>
	<input type="text" id="outRootPath" name="outRootPath" value="C:/Users/Administrator/Desktop/temp/com/s20y/crm/" placeholder="java类包路径" class="form-control" />
	</@c.formgroup>

	<@c.formgroup label={"for":"tableName", "value":"选择表", "class":"col-xs-3 control-label"} content={"class":"col-xs-7"}>
	<select id="tableName" name="tableName" class="form-control">
		<#list tables as table>
		<option value="${table.tableName}">${table.tableName}</option>
		</#list>
	</select>
	</@c.formgroup>

	<@c.formgroup label={"for":"nameCast", "value":"数据库命名规则", "class":"col-xs-3 control-label"} content={"class":"col-xs-7"}>
		<label class="radio-inline">
			<input type="radio" name="nameCast" id="nameCast1" value="CAMEL_CAST">CAMEL_CAST(驼峰命名)
		</label>
		<label class="radio-inline">
			<input type="radio" name="nameCast" id="nameCast2" value="UNDERSCORE_CAST" checked>UNDERSCORE_CAST(下划线分割命名)
		</label>
	</@c.formgroup>

	<@c.formgroup label={"for":"generatorList", "value":"选择需要生成的文件", "class":"col-xs-3 control-label"} content={"class":"col-xs-7"}>
		<label class="checkbox-inline">
			<input type="checkbox" name="generatorList" value="model.java" checked>model.java
		</label>
		<label class="checkbox-inline">
			<input type="checkbox" name="generatorList" value="mapper.java" checked>mapper.java
		</label>
		<label class="checkbox-inline">
			<input type="checkbox" name="generatorList" value="mapper.xml" checked>mapper.xml
		</label>
		<label class="checkbox-inline">
			<input type="checkbox" name="generatorList" value="service.java" checked>service.java
		</label>
		<label class="checkbox-inline">
			<input type="checkbox" name="generatorList" value="controller.java" checked>controller.java
		</label>
	</@c.formgroup>

	<@c.formgroup content={"class":"col-xs-offset-3 col-xs-9"}>
		<button id="setting-button" type="submit" class="btn btn-large btn-primary">保存更改</button>
	</@c.formgroup>
</form>
</@c.html>